package com.rui1024.dao;

import com.rui1024.pojo.Curd;
import com.rui1024.util.PageUtil;

import java.sql.Connection;
import java.util.List;

public interface CurdDao {
    boolean delete(String id, Connection con) throws Exception;
    boolean insert(Curd curd, Connection con) throws Exception;
    List< Curd > findAll(Connection con,PageUtil pageUtil) throws Exception;
    Curd find(String id,Connection con) throws Exception;
    boolean update(Curd curd,Connection con) throws Exception;
    int menuCount(Connection con) throws Exception;
}
